package com.DHH.Mapper.Device;

import com.DHH.Dto.FilterQuery;
import com.DHH.Entity.Device.Device;
import com.DHH.Entity.Device.DeviceArea;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DeviceMapper extends Mapper<Device> {

    /*搜索*/
    public List<Device> searchByDevice(Device r);
    /*筛选*/
    public List<Device> screenByDevice(Device r);
    /*过滤*/
    public List<Device> filterByDevice(FilterQuery r);

    public DeviceArea selectDeviceById(DeviceArea r);
}
